package circular_dependency2;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author chaird
 * @create 2023-04-11 23:10
 */
@Data
public class SelfDemo {

    private SelfDemo selfDemo;


    public void speak(){
      System.out.println("selfdemo");
    }


    @Override
    public String toString() {
        return LocalDateTime.now().toString();
    }
}
